package com.fastCms.business.bim.daos;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fastCms.business.bim.pojo.entity.DeviceGroup;
import com.fastCms.business.bim.pojo.po.DeviceGroupPO;
import com.fastCms.business.bim.pojo.vo.DeviceGroupVO;
import com.fastCms.business.bim.pojo.vo.DeviceInfoVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 设备组 Mapper 接口
 * </p>
 *
 * @author liusq
 * @since 2021-07-14
 */
@Repository
public interface DeviceGroupMapper extends BaseMapper<DeviceGroup> {

    List<DeviceGroupVO> showList(DeviceGroupPO pageParam);

    List<DeviceInfoVO> getDevicesByGroupId(Integer groupId);

}
